#ifndef CM_DRAWABLE_HPP
#define CM_DRAWABLE_HPP

#include "ge_vector2.hpp"
#include "ge_color.hpp"

namespace cm {
  class drawable {
    public:
      drawable(ge::vector2 const & position_ = ge::vector2::zero,
               ge::color const & diffuse_color_ = ge::color::black,
               float const size_ = 0)
      : position(position_), diffuse_color(diffuse_color_), _size(size_) { }
      float size() const {
        return _size;
      }
      void const size(float const & size_) {
        _size = size_;
      }
      
      ge::vector2 position;
      ge::color   diffuse_color;
    private:
      float _size;
  };
}

#endif
